import json

import interface
import time
while(True):
    result = interface.clustering(3)
    with open(r'./clu.txt', mode='w', encoding='utf8') as tf2:
        tf2.write(json.dumps(result,ensure_ascii=False,indent=4))



